/**
 * @Time    : 2022/03/10 14:11
 * @Author  : WanRongJia
 * @License : Software business license
 * @Site    : www.rich-f.com
 * @File    : buildErrObject.js
 * @Software: Rich Web Platform
 * @Function: 错误信息返回
 * @Version : 1.0
 **/

const buildErrObject = function (code = '', message = '') {
    return {
        code,
        message,
        status: false
    }
};

module.exports = {buildErrObject}